package cn.tedu.zx.ams.adapter.mapper;


import cn.tedu.zx.pojo.admin.entity.Admin;
import cn.tedu.zx.pojo.admin.vo.AdminDataVO;
import cn.tedu.zx.pojo.admin.vo.AdminDetailVO;
import cn.tedu.zx.pojo.admin.vo.AdminListItemVO;
import cn.tedu.zx.pojo.admin.vo.AdminLoginInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper extends BaseMapper<Admin> {
    AdminLoginInfoVO getLoginInfoByUsername(String adminName);

    List<AdminListItemVO> List();

    AdminDetailVO selectDetailById(Long id);

    AdminDataVO adminData(String username);
    String[] isSuperAdmin(Long id);



}
